package cn.com.manager.task;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import cn.com.manager.service.WeiboService;

/**
 * 每隔一分钟，进行一次冷数据导入
 * @author Administrator
 *
 */
@Component
public class WeiboProcessing {
	@Autowired
	private WeiboService weiboService;
	@Scheduled(cron="0/59 * * * * ?")
	public void ColdDataProcessing(){
		weiboService.ColdDataProcessing();
	}
}
